
var boardPanel = new Ext.TabPanel({
	//fullscreen : true,
	ui : 'dark',
	sortable : true,
	tabBarDock : "top",
	cardSwitchAnimation : "cube", // 'fade', 'slide', 'flip', 'cube', 'pop',
									// 'wipe' default : slide
	items : [ {
		title : '게시판 보기',
		items : [boardList],
		cls : 'card1'
	}, {
		title : '게시판 등록',
		items : [boardWrite],
		cls : 'card2'
	} ],
	listeners : {
		// ( Ext.Container this, Ext.Component newCard, Ext.Component oldCard,
		// Number index, Boolean animated )
		cardswitch : function(coontainer, newCard, oldCard, index, animated) {
			console.log(index);
		}
	}
});